package com.auto.reg.model;

public class UserInfoForReg {

    private String account;
    private String pwd;

    private String firstQ;
    private int firstQIndex;
    private String secondQ;
    private int secondQIndex;
    private String thirdQ;
    private int thirdQIndex;
    
    private int year;
    private int month;
    private int day;
    
    private String secondname;
    private String firstname;
    private String door;
    private String city;
    private String phone;
    private int provinceIndex;
    
	public String toString() {
    	
    	return " Account: " + account + " Password: " + pwd + 
    	       "| FirstIndex: " + firstQIndex + " answer: " + firstQ +
    	       "| SecondIndex: " + secondQIndex + " answer: " + secondQ +
    	       "| ThirdIndex: " + thirdQIndex + " answer: " + thirdQ + 
    	       "| " + year + "-" + month + "-" + day +
    	       "| " + firstname + " " + secondname + " door: " + door + " city: " + city + " phone: " + phone;
    }
    
    public static UserInfoForReg generateNewUser() {
    	
    	return new UserInfoForReg();
    }
    
	public String getAccount() {
		return account;
	}
	
	public void setAccount(String account) {
		this.account = account;
	}
	
	public String getPwd() {
		return pwd;
	}
	
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	
	public String getFirstQ() {
		return firstQ;
	}
	
	public void setFirstQ(String firstQ) {
		this.firstQ = firstQ;
	}
	
	public int getFirstQIndex() {
		return firstQIndex;
	}
	
	public void setFirstQIndex(int firstQIndex) {
		this.firstQIndex = firstQIndex;
	}
	
	public String getSecondQ() {
		return secondQ;
	}
	
	public void setSecondQ(String secondQ) {
		this.secondQ = secondQ;
	}
	
	public int getSecondQIndex() {
		return secondQIndex;
	}
	
	public void setSecondQIndex(int secondQIndex) {
		this.secondQIndex = secondQIndex;
	}
	
	public String getThirdQ() {
		return thirdQ;
	}
	
	public void setThirdQ(String thirdQ) {
		this.thirdQ = thirdQ;
	}
	
	public int getThirdQIndex() {
		return thirdQIndex;
	}
	
	public void setThirdQIndex(int thirdQIndex) {
		this.thirdQIndex = thirdQIndex;
	}
	
	public int getYear() {
		return year;
	}
	
	public void setYear(int year) {
		this.year = year;
	}
	
	public int getMonth() {
		return month;
	}
	
	public void setMonth(int month) {
		this.month = month;
	}
	
	public int getDay() {
		return day;
	}
	
	public void setDay(int day) {
		this.day = day;
	}
	
	public String getSecondname() {
		return secondname;
	}
	
	public void setSecondname(String secondname) {
		this.secondname = secondname;
	}
	
	public String getFirstname() {
		return firstname;
	}
	
	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}
	
	public String getDoor() {
		return door;
	}
	
	public void setDoor(String door) {
		this.door = door;
	}
	
	public String getCity() {
		return city;
	}
	
	public void setCity(String city) {
		this.city = city;
	}
	
	public String getPhone() {
		return phone;
	}
	
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
    public int getProvinceIndex() {
		return provinceIndex;
	}

	public void setProvinceIndex(int provinceIndex) {
		this.provinceIndex = provinceIndex;
	}

}
